<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title></title>
  <style>
.box ol {
  color: #00ff00;
  width: 97%;
}
.box .item1 {
  background-color: #ff0000;
  color: #000000;
}
  </style>
</head>
<body>
  <div class="box">
    <ol>
      <li class="item1"><div>hello</div> item1</li>
      <li class="item2"><div>world</div> item2</li>
    </ol>
  </div>
</body>
</html>